import { defHttp } from '@/utils/http/axios';
import { IMerchantListResult } from './type';
enum Api {
  merchantList = '/admin/registerSaasMerchant/pageList',
}

/**
 * @description 查询商户列表
 * @date 13/07/2022
 * @export
 * @param
 */
export function MerchantList(params) {
  return defHttp.get<IMerchantListResult>({
    url: Api.merchantList,
    params,
  });
}
